@charset "utf-8";
@import './_mixin.scss';

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
img,
hr {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

fieldset,
img {
  border: 0;
}

code,
em,
th,
td,
i {
  font-style: normal;
  font-weight: normal;
}

ol,
ul,
li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

button {
  background: none;
  border: none;
}

hr {
  color: #f5f2ee;
  background-color: #f5f2ee;
  border: none;
  height: 1px;
}

article,
aside,
footer,
header,
menu,
nav,
section {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
body {
  -webkit-text-size-adjust: none;
}

body {
  padding-top: 60px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, sans-serif;
  background-color: #f7f9fa;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  cursor: pointer;
}

input,
button {
  outline: none;
}

p {
  word-wrap: break-word;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.15s ease-out;
}

a:hover {
  color: #1985ff;
  text-decoration: none;
}

.clearfix:after,
.fn-clear:after {
  clear: both;
  content: '.';
  display: block;
  height: 0;
  visibility: hidden;
}

.f14 {
  font-size: 14px;
}

.f16 {
  font-size: 16px;
}

.f18 {
  font-size: 18px;
}

.cp {
  cursor: pointer;
}

.b {
  font-weight: 700;
}

.w {
  white-space: nowrap;
}

.tal {
  text-align: left;
}

.tac {
  text-align: center;
}

.tar {
  text-align: right;
}

.fr,
.fn-right {
  float: right;
}

.db img {
  display: block;
}

.fl,
.fn-left {
  float: left;
}

.pr {
  position: relative;
}

.pa {
  position: absolute;
}

.oh {
  overflow: hidden;
}

.hide {
  display: none;
}

::-webkit-input-placeholder {
  color: #666;
}

::-moz-placeholder {
  color: #666;
}

:-moz-placeholder {
  color: #666;
}

::-ms-input-placeholder {
  color: #666;
}

input:-moz-placeholder {
  color: #666;
}

textarea:-moz-placeholder {
  color: #666;
}

/* 滚动条 */
html,
.playlog ul,
.d-scroll,
#weekcon {
  &::-webkit-scrollbar {
    width: 7px;
    height: 7px;
  }

  &::-webkit-scrollbar-thumb {
    border-radius: 1em;
    background-color: rgba(50, 50, 50, 0.3);
  }

  &::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }

  &::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.8);
  }

  &::-webkit-scrollbar-corner,
  &::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(100, 100, 100, 0.4);
  }
}

.tab-main::-webkit-scrollbar {
  height: 7px;
  width: 7px;
}

.tab-main::-webkit-scrollbar-thumb {
  min-height: 30px;
  background: rgba(58, 58, 58, 0.8);
}

.tab-main::-webkit-scrollbar-track-piece {
  background: #000;
}

.tab-main::-webkit-scrollbar-corner {
  background: #e7e7e7;
}

@font-face {
  font-family: 'iconfont';
  /* project id 16475 */
  src: url('//at.alicdn.com/t/font_16475_u0an2pd4don.eot');
  src: url('//at.alicdn.com/t/font_16475_u0an2pd4don.eot?#iefix') format('embedded-opentype'), url('//at.alicdn.com/t/font_16475_u0an2pd4don.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_16475_u0an2pd4don.woff') format('woff'), url('//at.alicdn.com/t/font_16475_u0an2pd4don.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_16475_u0an2pd4don.svg#iconfont') format('svg');
}

.iconfont {
  font-family: 'iconfont' !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  vertical-align: middle;
}

.wp {
  width: 1200px;
  margin: auto;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt15 {
  margin-top: 15px;
}

.d-header {
  position: relative;
  height: 60px;
  min-width: 1200px;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgba(114, 144, 179, 0.06);
}

.d-top {
  margin: 0 auto;
  height: 60px;
  position: relative;
  width: 1200px;
  display: flex;

  .logo {
    position: absolute;
    top: 8px;
    left: 0;
    width: 120px;
    height: 36px;

    a {
      width: 120px;
      height: 36px;
      display: block;
      background: url(../img/5d.svg) no-repeat;
      background-size: 120px auto;
      margin-top: 5px;
      text-indent: -9999px;
    }
  }
}

.d-nav {
  position: relative;
  margin-left: 140px;
  height: 58px;
  line-height: 58px;
  flex-grow: 1;

  a {
    display: inline-block;
    font-size: 16px;
    color: #696e78;
    margin-left: 30px;

    &:hover,
    &.current {
      color: #18191a;
      font-weight: 600;
    }
    &.current {
      border-bottom: 2px solid #1985ff;
    }
  }
}

.d-top-fix {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
}

.d-search {
  position: relative;
  margin-top: 11px;
  margin-right: 20px;
  width: 280px;
  height: 36px;
  display: flex;

  a {
    &.iconfont {
      position: absolute;
      top: 11px;
      right: 70px;
      color: #999;
      transition: right 0.7s ease-in-out;
      &:hover {
        color: #1985ff;
      }
    }
  }

  button {
    position: absolute;
    right: 30px;
    top: 1px;
    width: 36px;
    height: 36px;
    font-size: 18px;
    color: #3b4043;
    cursor: pointer;
    transition: right 0.7s ease-in-out;

    &:hover {
      color: #1985ff;
    }

    i {
      &.iconfont {
        text-align: center;
        padding-right: 0;
      }
    }
  }

  input {
    padding: 6px 15px;
    width: 220px;
    height: 22px;
    line-height: 22px;
    color: #666;
    font-size: 14px;
    background: #f5f6f7;
    border: 1px solid #fff;
    border-radius: 4px;
    box-sizing: content-box;
    transition: width 0.7s ease-in-out;
    &:focus {
      border: 1px solid #dadfe6;
      background-color: #fff;
      width: 250px;
      ~ button {
        color: #1985ff;
        right: 0;
      }
      ~ a {
        &.iconfont {
          right: 40px;
        }
      }
    }
  }
}

.search-list {
  position: absolute;
  top: 42px;
  right: 0;
  display: none;
  background: #fff;
  width: 400px;
  border: 1px solid #e9e9e9;
  border-radius: 5px;

  ul {
    padding: 10px;
    text-align: left;
  }

  li {
    position: relative;
    height: 30px;
    line-height: 30px;
    display: flex;

    a {
      padding: 0 8px;
      flex-grow: 1;
      overflow: hidden;
      vertical-align: middle;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    span {
      display: inline-block;
      text-align: right;
      color: #9f9f9f;
    }

    em {
      color: #f60;
    }
  }
}

.d-top-user {
  flex-grow: 1;
  height: 60px;
  display: flex;
  > div {
    position: relative;
    > a {
      width: 40px;
      text-align: center;
      font-size: 14px;
      color: #494b4d;
    }
  }
  .d-user {
    line-height: 60px;
    .nav-avatar {
      img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        top: -2px;
      }
      span {
        margin-left: 10px;
      }
    }
    &-line {
      display: inline-block;
      width: 1px;
      height: 12px;
      background-color: #c0c5cc;
      margin: 0 11px;
    }
  }
  .nick-name {
    display: none;
  }
}

/* 会员登录状态 */
.drop-box {
  position: absolute;
  top: 67px;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgba(223, 223, 223, 0.3);
  display: none;
  &:after {
    position: absolute;
    right: 80px;
    top: -7px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    content: '';
  }
}

#nav-looked .drop-box {
  width: 308px;
  right: 4px;
}

#nav-signed {
  left: -22px;
  width: 130px;
}

.ui-signed {
  margin-top: 1px;
  text-align: left;
}

.ui-signed li {
  width: 130px;
  height: 35px;
  overflow: hidden;
}

.ui-signed li a {
  display: block;
  width: 115px;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  padding: 0 0 0 15px;
  color: #000;
}

.ui-signed li a .ui-icon {
  width: 25px;
  height: 30px;
  float: left;
  font-family: 'iconfont' !important;
  font-style: normal;
  font-size: 18px;
  color: #f60;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

.ui-signed li a:hover {
  text-decoration: none;
  background-color: #f60;
  color: #fff;
}

.ui-signed li a:hover .ui-icon {
  color: #fff;
}

.ui-signed .user-tbmov:before {
  content: '\e61a';
}

.ui-signed .user-edit:before {
  content: '\e602';
}

.ui-signed .user-fav:before {
  content: '\e604';
}

.ui-signed .user-rss:before {
  content: '\e60c';
}

.ui-signed .user-cmt:before {
  content: '\e63d';
}

.ui-signed .user-log:before {
  content: '\e635';
}

.ui-signed .user-gb:before {
  content: '\e634';
}

.ui-signed .user-logout:before {
  content: '\e620';
}

.ui-signed .user-dx:before {
  content: '\e612';
}

.ui-signed .user-score:before {
  content: '\e88a';
}

/*导航更多*/

.d-nav-more {
  display: inline-block;
  .drop-box {
    width: 80px;
    right: 18px;
    padding: 10px;
    &:before,
    &:after {
      right: auto;
      left: 39px;
    }
  }
  &-list {
    width: 80px;
    text-align: left;
    line-height: 30px;
    a {
      margin: 0 -10px;
      padding: 0 15px;
      border-bottom: 1px solid #eee;
      display: block;
      font-size: 14px;
      &:last-child {
        border-bottom: none;
      }
    }
  }
}

.gbtn {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -93.5px;
  z-index: 99;
  width: 35px;
  height: 187px;
}

.gbtn .btn {
  display: block;
  position: relative;
  margin: 0 0 5px;
  height: 20px;
  line-height: 20px;
  padding: 10px;
  text-decoration: none;
  border: 1px solid #e9e9e9;
  border-right: 0;
  border-radius: 5px 0 0 5px;
  margin-top: 5px;
  background: #fff;
  color: gray;
  left: 0;
  width: 75px;
  white-space: nowrap;
  transition: left 0.3s ease-in-out;
}

.gbtn .btn .iconfont {
  cursor: pointer;
  font-size: 16px;
  line-height: 1em;
  width: 16px;
  height: 16px;
  overflow: hidden;
  display: inline-block;
  vertical-align: text-top;
  margin-right: 10px;
}

.gbtn .btn:hover {
  left: -60px;
  text-decoration: none;
}

#shang,
#weixin {
  display: none;
  position: absolute;
  right: 60px;
  top: 0;
  padding: 15px 15px 15px 0;
  width: 330px;
  background: #fff;
  border: 1px solid #dee2e5;
}

#shang div {
  float: left;
  margin-left: 15px;
}

#shang div img,
#weixin img {
  display: block;
  width: 150px;
  height: 150px;
}

#shang div p,
#weixin p {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

#weixin {
  padding: 15px;
  width: 150px;
}

.d-footer {
  padding: 10px 0 20px;
  line-height: 24px;
  color: #666;
  border-top: 1px solid #dee2e5;
}

.d-position {
  margin-top: 10px;
  padding: 0 15px;
  height: 40px;
  line-height: 40px;
  background-color: #f2f2f2;
  border-radius: 5px;
  color: #666;
  font-size: 14px;
}

.d-position span {
  margin: 0 10px;
  color: #ccc;
}

.d-position a {
  color: #666;
}

.d-position strong {
  display: inline-block;
  margin-left: 20px;
  font-weight: normal;
}

.d-position strong a {
  margin: 0 3px;
}

.login-ico {
  display: flex;
  padding: 0 20px 20px;
  text-align: center;
  justify-content: space-between;

  a {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    background-position: center center;
    background-repeat: no-repeat;
    text-decoration: none;
    text-indent: -9999px;
  }
}

.login-ico a.qq {
  background-image: url(../img/qqico.png);
  background-color: #2693ff;
}

.login-ico a.qq:hover {
  background-color: #44a2ff;
}

.login-ico a.weibo {
  background-image: url(../img/sinaico.png);
  background-color: #f15252;
}

.login-ico a.weibo:hover {
  background-color: #f76262;
}

.login-ico a.weixin {
  background-image: url(../img/weixin-ico.png);
  background-color: #81cb3d;
}

.login-ico a.weixin:hover {
  background-color: #8fd154;
}

.user-ajax {
  * {
    box-sizing: border-box;
  }

  form {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
  }

  input[type='text'],
  input[type='password'] {
    padding: 0 10px;
    margin-bottom: 20px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #333;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
  }

  button {
    width: 100%;
    height: 40px;
    background-color: #f60;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;

    &:hover {
      background-color: #ff7920;
    }
  }

  .img-code {
    display: flex;
    width: 100%;

    img {
      margin-left: 10px;
      height: 40px;
    }
  }

  .send {
    display: flex;
    width: 100%;

    input {
      border-right: none;
      flex-grow: 1;
    }

    button {
      border-radius: 0;
      width: 150px;
    }
  }

  .memory {
    margin-bottom: 20px;
    display: flex;
    width: 100%;

    #cookietime {
      margin-right: 5px;
      margin-top: 4px;
    }

    label {
      margin-left: 5px;
    }

    .no-user {
      text-align: right;
      flex-grow: 1;
      cursor: pointer;
    }
  }

  .yes-user {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
  }
}

.applist {
  margin-top: 10px;
}

.applist li {
  height: 80px;
}

.applist li img {
  float: left;
  margin-right: 10px;
  width: 64px;
  height: 64px;
}

.applist li h4 {
  height: 28px;
  line-height: 28px;
  font-size: 14px;
  font-weight: 600;
}

.applist li h4 a {
  color: #333;
}

.applist li h4 a:hover {
  color: #f60;
}

.applist li p {
  line-height: 18px;
  color: #666;
  font-size: 12px;
}

.d-title span {
  float: right;
  margin-top: 3px;
}

.d-title h2 {
  margin-top: 15px;
  font-size: 18px;
  color: #f60;
  font-weight: 600;
}

.d-title h2 i {
  position: relative;
  margin-right: 5px;
  font-size: 24px;
  vertical-align: top;
}

.d-title h2 i.top-3 {
  top: -3px;
}

.d-hotlist {
  li {
    cursor: pointer;
    margin: 15px 0;

    .normal {
      height: 26px;
      line-height: 26px;
      overflow: hidden;

      a {
        @include text-more(1);
      }

      span {
        color: #999;
        float: right;
      }
    }

    em {
      float: left;
      margin-right: 10px;
      width: 24px;
      height: 24px;
      font: bold 14px/24px 'Arial Black';
      color: #999;
      text-align: center;
      background-color: #eee;
      border: 1px solid #dee2e5;
      border-radius: 50%;
    }

    &:first-child {
      em {
        color: #fff;
        background-color: #ff2853;
        border-color: #de0f38;
      }
    }

    &:nth-child(2) {
      em {
        color: #fff;
        background-color: #ff9936;
        border-color: #ff8a21;
      }
    }

    &:nth-child(3) {
      em {
        color: #fff;
        background-color: #43b8f5;
        border-color: #3aade9;
      }
    }

    .d-media {
      position: relative;
      display: none;
      height: 112px;

      h3 {
        height: 30px;
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 0;
        @include text-one;
      }

      em {
        position: absolute;
        top: 0;
        right: -10px;
        width: 30px;
        height: 30px;
        line-height: 30px;
      }

      p {
        color: #999;
        font-size: 12px;

        &.d-desc {
          margin-top: 10px;
        }
      }

      & > a {
        float: left;
        margin-right: 10px;
        width: 80px;
        height: 112px;
        overflow: hidden;
        border-radius: 5px;
        mask-image: radial-gradient(circle, white, black);

        img {
          width: 80px;
          height: 112px;
          border-radius: 3px;
          transition: transform 0.5s ease-out;

          &:hover {
            transform: scale(1.1);
          }
        }
      }
    }
  }
}

.bigstar50,
.bigstar45,
.bigstar40,
.bigstar35,
.bigstar30,
.bigstar25,
.bigstar20,
.bigstar15,
.bigstar10,
.bigstar05,
.bigstar00 {
  display: inline-block;
  zoom: 1;
  background: url(../img/ic_rating_m@2x.png) no-repeat;
  background-size: 75px 165px;
  width: 75px;
  height: 15px;
  margin: 1px 5px 0 0;
  overflow: hidden;
  vertical-align: top;
}

.bigstar50 + span.rating_num,
.bigstar45 + span.rating_num,
.bigstar40 + span.rating_num,
.bigstar35 + span.rating_num,
.bigstar30 + span.rating_num,
.bigstar25 + span.rating_num,
.bigstar20 + span.rating_num,
.bigstar15 + span.rating_num,
.bigstar10 + span.rating_num,
.bigstar05 + span.rating_num,
.bigstar00 + span.rating_num {
  font-size: 16px;
  line-height: 1;
}

.bigstar50 {
  background-position: 0 0px;
}

.bigstar45 {
  background-position: 0 -15px;
}

.bigstar40 {
  background-position: 0 -30px;
}

.bigstar35 {
  background-position: 0 -45px;
}

.bigstar30 {
  background-position: 0 -60px;
}

.bigstar25 {
  background-position: 0 -75px;
}

.bigstar20 {
  background-position: 0 -90px;
}

.bigstar15 {
  background-position: 0 -105px;
}

.bigstar10 {
  background-position: 0 -120px;
}

.bigstar05 {
  background-position: 0 -135px;
}

.bigstar00 {
  background-position: 0 -150px;
}

.d-pop,
.d-popup {
  position: absolute;
  display: none;
  z-index: 99;

  .d-box {
    margin-left: 15px;
    width: 335px;
    background-color: #fff;
    border: 1px solid #999;

    .d-popinfo {
      padding: 20px 25px;

      h3 {
        font-size: 18px;
        line-height: 1.4;
      }

      .rank {
        margin-top: 3px;

        strong {
          color: #f60;
        }
      }

      .meta {
        a,
        span {
          float: left;
          margin: 0 8px 8px 0;
          padding: 2px 10px 3px;
          background-color: #f5f5f5;
          font-size: 13px;
          color: #666;
          border-radius: 12px;
          word-break: keep-all;
          white-space: nowrap;

          &:hover {
            background-color: #f60;
            color: #fff;
          }

          &.green {
            color: #fff;
            background-color: #66c056;
          }
        }
      }

      .collect-area {
        margin-top: 10px;

        a {
          display: inline-block;
          margin-right: 5px;
          padding: 2px 14px 1px;
          border-radius: 2px;
          border: 1px solid #bbb;
          color: #111;
          border-radius: 3px;

          i {
            font-size: 14px;
            margin-right: 5px;
          }

          &.cur {
            color: #fff;
            background-color: #4d9cec;
            border: 1px solid #4d9cec;

            &:hover {
              background-color: #1c81e7;
            }
          }
        }
      }
    }

    .comment {
      padding: 20px 25px;
      border-top: 1px solid #ddd;
      background-color: #f5f5f5;
      font-size: 13px;
      line-height: 1.62;
    }
  }
}

.detail-sect {
  display: inline-block;
  vertical-align: top;
  height: 34px;
  padding-top: 10px;

  div {
    display: inline-block;
    height: 22px;
    line-height: 22px;
  }

  a {
    margin-left: 10px;
    display: inline-block;
    padding: 0 7px;
    color: #fff;
    background-color: #4d9cec;
    border-radius: 3px;
    border: 1px solid #4d9cec;

    &:hover {
      background-color: #1c81e7;
    }

    i {
      font-size: 14px;
      margin-right: 5px;
    }
  }
}

.xcx {
  position: fixed;
  left: 5px;
  bottom: 5px;
  padding: 10px;
  width: 150px;
  height: 175px;
  z-index: 9999999;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #f6f6f6;
  box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);

  p {
    text-align: center;
    margin-top: 5px;
  }

  .xcx-close {
    width: 15px;
    height: 15px;
    position: absolute;
    right: 5px;
    top: 5px;

    &:after,
    &:before {
      position: absolute;
      left: 0;
      top: 10px;
      width: 15px;
      height: 1px;
      background: #999;
      content: '';
    }

    &:before {
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }

    &:after {
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
    }
  }
}

.d-badge {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 0 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  height: 20px;
  line-height: 20px;
  font-style: normal;
}

.use-share {
  a {
    display: inline-block;
    margin-top: 3px;
    margin-right: 8px;

    i {
      font-family: 'share';
      font-size: 28px;
      color: gray;
    }

    &:hover {
      i {
        color: #000;
      }
    }
  }
}
